Home:ALL Converter>Write a program that tells the user when they will turn 64

Write a program that tells the user when they will turn 64

Ask Time:2020-02-24T01:27:12         Author:camhierl

Json Formatter

How do I get the name and number of years into the string in my print statement?

USER_NAME = str(input("Enter your name: "))

USER_AGE = int(input("Enter your age: "))

def ageDifference(age):

    age_difference = (int(64 - age))
    print(str("Hello {:s}, you will turn 64 in {:d} years."))

ageDifference(USER_AGE)

Author:camhierl,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/60364884/write-a-program-that-tells-the-user-when-they-will-turn-64
yy